<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="huoyun" uri="/huoyun"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>车源信息详情</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/theme/css/main.css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/theme/css/index.css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/theme/js/jquery-1.6.js"></script>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/theme/css/style_order.css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/theme/js/jquery.ui.custom.js"></script>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/theme/css/jquery.ui.custom.css">
<script type="text/javascript">
	$(function() {
		$("#tabs").tabs({
			beforeLoad : function(event, ui) {
				ui.jqXHR.error(function() {
					ui.panel.html("正在努力为您加载...");
				});
			}
		});
	});
</script>
</head>

<body>
	<jsp:include page="/header.jsp"></jsp:include>
	<div class="realCer">
		<!--主体部分-->
		<div class="realMain clearfix mt10">
			<div class="home">
				<div class="w990 home-content clearfix">
					<div class="detail-left-content">
						<div class="cargo-detail">
							<div>
								<h1>
									东莞市－东莞市<span class="line_arrow"></span>杭州市
								</h1>
							</div>
							<div class="attributes-list">
								<div class="attr-list-hd clearfix">车源详情：</div>
								<ul>
									<li>发车时间段_起：&nbsp;<huoyun:dateFormat
											date="${carPubInfo.starttime}" dateFormat="yyyy-MM-dd hh:mm" /></li>
									<li>发车时间段_止：&nbsp;<huoyun:dateFormat
											date="${carPubInfo.endtime}" dateFormat="yyyy-MM-dd hh:mm" /></li>
									<li>是否返程：&nbsp;<s:if test="#carPubInfo.retour == 0">是</s:if>
										<s:else>否</s:else>
									</li>
									<li>是否整车运输：&nbsp;<s:if test="#carPubInfo.type == 0">是</s:if>
										<s:else>否</s:else></li>
									<li>车源发布时间：&nbsp;<huoyun:dateFormat
											date="${carPubInfo.addTime}" dateFormat="yyyy-MM-dd hh:mm" /></li>
									<li>车源状态：&nbsp;<s:if test="#carPubInfo.status == 0">下线</s:if>
										<s:else>上线</s:else></li>
									<li>可载吨位：&nbsp;${carPubInfo.loadAmount}&nbsp;${carPubInfo.unit
										}</li>
									<li>承诺装货时间：</li>
								</ul>
								<div class="attr-list-hd clearfix">车辆信息：</div>
								<ul>
									<li title="">车辆类型:&nbsp;<s:property value="car.type" /></li>
									<li title="">额定载重量：&nbsp;<s:property value="car.loadMax" />(吨)
									</li>
									<li title="">车厢规格：&nbsp;${car.length} <label
										for="car.length">长(m)×</label> ${car.width} <label
										for="car.width">宽(m)×</label> ${car.height} <label
										for="car.height">高(m)</label></li>
									<li title="">车牌号:&nbsp;${car.cardNumber}</li>
									<li title="">发动机号码:&nbsp;${car.engineNumber }</li>
									<li title="">车辆识别代号：&nbsp;${car.carIDCode}</li>
									<li title="">车辆品牌：&nbsp;${car.brand}</li>
									<li title="">行驶证地址：&nbsp;${car.brand}</li>
									<li title="">行驶证注册日期：&nbsp;<huoyun:dateFormat
											date="${car.registrationDate}" dateFormat="yyyy-MM-dd" /></li>

								</ul>

								<div class="attr-list-hd clearfix">司机信息：</div>
								<ul>
									<li title="">姓名：&nbsp;${driver.name}</li>
									<li title="">性别：&nbsp;${driver.gender }</li>
									<li title="">民族：&nbsp;${driver.nation}</li>
									<li title="">住址：&nbsp;${driver.province}${driver.city
										}${driver.town }</li>
									<li title="">身份证：&nbsp;${driver.idCardNumber }</li>
									<li title="">驾驶证准驾车型：&nbsp;${driver.drivingLicenseCarType}</li>
									<li title="">驾驶证档案编号：&nbsp;${driver.drivingLicenseNumber }</li>
									<li title="">驾驶证发放日期：&nbsp;<huoyun:dateFormat
											date="${driver.drivingLicenseEffectiveStartDate}"
											dateFormat="yyyy-MM-dd" /></li>
									<li title="">驾驶证年限：&nbsp;${driver.drivingLicenseEffectivePeriod}</li>
									<li title="">&nbsp;</li>
								</ul>


							</div>
						</div>

						<div class="attr-list-hd clearfix" style="width: 700px;">
							<div class="hd">
								<h2>
									<a href="">评价信息</a>
								</h2>
							</div>
							<div id="tabs">
								<ul>
									<li><a href="#tabs-1">所有评价</a></li>
									<li><a
										href="<s:url action="orderList.action" namespace="/order"><s:param name="status">1</s:param></s:url>">一个月内</a></li>
									<li><a
										href="<s:url action="orderList.action" namespace="/order"><s:param name="status">2</s:param></s:url>">半年内</a></li>
									<li><a
										href="<s:url action="orderList.action" namespace="/order"><s:param name="status">3</s:param></s:url>">一年内</a></li>
								</ul>
								<div id="tabs-1">
									<jsp:include page="../rate/ajaxRateList.jsp"></jsp:include>
								</div>
							</div>

							<div class="bd clearfix tab-content" id="new_goods_infos">
							
							
							</div>
						</div>

					</div>

					<div class="detail-right-content">

						<div class="cargo-operate">
							<ul class="top-tab clearfix">
								<li class="first"><span class="title">服务态度</span> <strong
									class="number" style="color: red"><s:property
											value="rateItems[0]" /></strong></li>
								<li class="first"><span class="title">信息准确</span> <strong
									class="number" style="color: red"><s:property
											value="rateItems[1]" /></strong></li>
								<li class="first"><span class="title">及时性</span> <strong
									class="number" style="color: red"><s:property
											value="rateItems[2]" /></strong></li>
								<li class="first"><span class="title">货物完整</span> <strong
									class="number" style="color: red"><s:property
											value="rateItems[3]" /></strong></li>
							</ul>
							<div style="padding: 40px 70px;">
								<div class="button button-lorange">
									<input id="button_submit" type="submit" value="邀请"
										class="button-text">
								</div>
							</div>
						</div>

						<div class="new-box" style="width: 280px; margin-left: 10px;">
							<div class="hd">
								<h2>
									<a href="">类似货源</a>
								</h2>
							</div>
							<div class="bd clearfix tab-content" id="new_goods_infos">
								<div class="tab-pannel">
									<ul class="round-box clearfix">
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
										<li><span class="rounte">煤炭制品</span><span class="amount">100000元</span>
											<span>2012-12-11 12:34:43</span></li>
									</ul>
								</div>
							</div>
						</div>

					</div>
				</div>
			</div>

		</div>

	</div>
	<div>
		<jsp:include page="../footer.jsp"></jsp:include>
	</div>
</body>
</html>
